/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/


CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	config.language = 'zh-cn';
	config.skin = 'kama';
	config.toolbar='Full';
	config.toolbar_Full=[
		['Source','-','Save','NewPage','Preview','-','Templates'], 
		['Cut','Copy','Paste','PasteText','PasteFromWord'],
		['Undo','Redo','-','Find','Replace'],
		['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], 
        ['NumberedList','BulletedList'],
		['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
		['Link','Unlink','Anchor'], 
		['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
		['Format','Font','FontSize'],
		['TextColor','BGColor'],
		['Maximize','ShowBlocks']
		]; 
	config.toolbarCanCollapse = true; 
	config.toolbarLocation = 'top';
	config.toolbarStartupExpanded = true;
	config.FormatOutput=false;
	config.resize_enabled = true;
	config.resize_minWidth = 400;
	config.autoUpdateElement = true;
    config.baseHref = '';
    config.baseFloatZIndex = 10000;
    
    config.filebrowserBrowseUrl = '/web/ckfinder/ckfinder.html'; //不要写成"~/ckfinder/..."或者"/ckfinder/..."
    config.filebrowserImageBrowseUrl = '/web/ckfinder/ckfinder.html?type=Images';
    config.filebrowserFlashBrowseUrl = '/web/ckfinder/ckfinder.html?type=Flash';
    config.filebrowserUploadUrl = '/web/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Files';
    config.filebrowserImageUploadUrl = '/web/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Images';
    config.filebrowserFlashUploadUrl = '/web/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Flash';

};

